package com.xzwk.subject.domain.dto;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 题目标签表(SubjectLabel)表实体类
 *
 * @author makejava
 * @since 2024-03-12 17:43:48
 */
@EqualsAndHashCode(callSuper = true)
@SuppressWarnings("serial")
@Data
public class SubjectLabelDTO extends Model<SubjectLabelDTO> {

  //主键
  private Long id;
  //标签分类
  private String labelName;
  //排序
  private Integer sortNum;

  private Long categoryId;
  //创建人
  private String createdBy;
  //创建时间
  private Date createdTime;
  //更新人
  private String updateBy;
  //更新时间
  private Date updateTime;

  private Integer isDeleted;

  /**
   * 获取主键值
   *
   * @return 主键值
   */
  @Override
  protected Serializable pkVal() {
    return this.id;
  }
}

